package com.qf.day4;

import com.qf.day4.util.CopyArr;

import java.util.Arrays;

public class Demo2 {
    public static void main(String[] args) {
        int[] arr1 = {3,6,9,10,12,43,56,7,11}; //9~12
        int[] arr2 = new int[20];
        CopyArr.copyArr(arr1,2,arr2,4,3);
        for (int n: arr2) {
            System.out.print (n+" ");
        }
    }
}
